writing linear equations given the slope and a point